<%-- 
    Document   : login
    Created on : 04/02/2012, 04:37:10 PM
    Author     : Gimbet
--%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<div style="height: 189px; width: 1280px"  id="wrap">
    <div id="header" style="height: 177px; left: 0px;">
        <h1 style="height: 79px;" id="logo"><br></br>
        </h1>

        <html:form  action="/login" onsubmit="return validateRegistro(this);" styleClass="searchform">
            <b><font color="red">
                <logic:present name="Registro" property="mensaje">

                    <bean:write name="Registro" property="mensaje"/>


                </logic:present>
                </font></b>

            <table style="margin-left: -15%; margin-top: 5%;">
                <tr>
                    <td>Usuario:</td>    
                    <td>    
                        <html:text property="usuario" style="width: 130px;" ></html:text>
                    </td>
                </tr>
                <tr>
                    <td>Password</td>    
                    <td>    
                        <html:password property="password" style="width: 130px;"></html:password>
                    </td>
                </tr>
                <div class="buttons">
                    <button type="submit" class="regular" style="margin-top: 15px; margin-left: 40px;">
                        <img src="interfaz/images/puerta.jpg" alt=""/>
                        <bean:message key="boton.ingresar" />
                    </button>
                </div>
            </table>

        </html:form>
        <!-- Validaciones javascript conectadas con el validation.xml-->
        <html:javascript formName="Registro"/>
    </div>
</div>


